/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


import java.io.FilterWriter;
import java.io.IOException;
import java.io.Reader;
import java.io.Writer;

public class CaesarWriter extends FilterWriter {
    private CaesarCoder cc;

    public CaesarWriter(Writer in, int movepos) {
        super(in);
        cc = new CaesarCoder();
    }

   public static void write(Writer w, Reader r) throws IOException{
	   int c;
	   while ((c = r.read()) != -1)
		   w.write(c);
	   w.close();
	   r.close();
   }
   
}
